package com.starlink.model.vo.book;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel("运费详情响应模型")
public class FreeTemplateInfoVO implements Serializable {
    @ApiModelProperty("模板ID")
    private String templateId;
    @ApiModelProperty("模板名称")
    private String tempName;
    @ApiModelProperty("是否包邮 0不包邮 1包邮 ")
    private Integer freeOrNot;
    @ApiModelProperty("计价方式 0按件 1按重量 2按体积")
    private Integer valuationModel;
    @ApiModelProperty("是否指定包邮条件 0否 1是")
    private Integer freeOrNotCondition;

    @ApiModelProperty("包邮条件")
    private List<FreeDeliveryTermsInfoVO> delayedTerms;

    @ApiModelProperty("运输方式")
    private List<FreeCarryModeInfoVO> carryModeS;
}
